package org.hh.study.pooltest.handler;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import thread.pool.core.executor.AlarmPostProcessor;
import thread.pool.core.vo.ThreadPoolStatus;

@Service
@Slf4j
public class AlarmHandler implements AlarmPostProcessor {
    @Override
    public void postProcessor(ThreadPoolStatus threadPoolStatus) {
        log.info("收到了告警信息：{}", threadPoolStatus.toString());
    }
}
